package com.tourism.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.tourism.domain.dto.comment.CommentQueryDTO;
import com.tourism.domain.entity.Comment;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CommentMapper extends BaseMapper<Comment> {

    List<Comment> getAllComments(Page<Comment> page, @Param("comment") CommentQueryDTO comment);
}




